export default {
    namespaced: true,
    state:{
        userData : [],//我的首页
        passwordData : {},//密码修改
        commissionData	:	{},//提成记录数据
        sellAddData	:	{},//销售录入
    },
    mutations:{
    	//我的首页
        updateUserData(state,data){
            state.userData = data;
        },
        
        //密码修改
        clearPasswordData(state,data){
            state.passwordData = {};
        },
        
    	//提成记录数据
        updateCommissionData(state,data){
            state.commissionData = data;
        },
        
    	//清除销售录入信息
        clearSellAddData(state,data){
            state.sellAddData = {};
        },
    }
}